#ifndef LUAENGINE_H
#define LUAENGINE_H

class QString;

class LuaEngine
{
    LuaEngine();
public:
    ~LuaEngine();

    static LuaEngine* instance() {
        if (!_instance) {
            _instance = new LuaEngine;
        }
        return _instance;
    }
    void loadAllPlugins();
    void reloadLuaPlugins();
    void tryAllProtocols();

private:
    static LuaEngine* _instance;
};

#endif // LUAENGINE_H
